﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace J.M.Inventory.Domain.DTO
{

    /// <summary>
    /// 统一返回格式
    /// </summary>
    public class ApiResult
    {
        /// <summary>
        /// 状态码
        /// </summary>
        public int? Code { get; set; }
        /// <summary>
        /// 消息
        /// </summary>
        public string? Message { get; set; }
        /// <summary>
        /// 数据
        /// </summary>
        public object? Data { get; set; }
        /// <summary>
        /// 集合
        /// </summary>
        public List<object>? ListData { get; set; }
        /// <summary>
        /// 密文
        /// </summary>
        public string? Token { get; set; }
        /// <summary>
        /// 总数据
        /// </summary>
        public int? totalCount { get; set; }
        /// <summary>
        /// 总页数
        /// </summary>
        public int? pageCount { get; set; }
    }

}
